<?php 
namespace Admin\Controller;
use Think\Controller;
use Think\Auth;
class CommonController extends Controller {
	public function _initialize()
	{
		$rule =  MODULE_NAME.'/'.CONTROLLER_NAME.'/'.ACTION_NAME;
		$id = 1;

		$auth= new Auth();  
		// if(!$auth->check($rule,$id)){
		// 	$this->error('你没权限，请交钱开通',U('admin/login/index'));
		// }

	}
}













 ?>